Spread Windows Forms 17
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType.Fields Namespace / FieldCollection<T> Class / OnValidateNewItems Method
An object indicates the old item when set item.
An object array indicates the new items.


In This Topic
    OnValidateNewItems Method (FieldCollection<T>)
    In This Topic
    Performs additional custom processes to validating adding items.
    Syntax
    'Declaration
     
    
    Protected Overridable Sub OnValidateNewItems( _
       ByVal oldItem As Object, _
       ByVal newItems() As Object _
    ) 
    'Usage
     
    
    Dim instance As FieldCollection(Of T)
    Dim oldItem As Object
    Dim newItems() As Object
     
    instance.OnValidateNewItems(oldItem, newItems)
    protected virtual void OnValidateNewItems( 
       object oldItem,
       object[] newItems
    )

    Parameters

    oldItem
    An object indicates the old item when set item.
    newItems
    An object array indicates the new items.
    See Also